package org.x.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import org.x.casemodule.enums.MethodEnum;
import org.x.casemodule.enums.ReminderStatusEnum;

import java.lang.Long;
import java.util.Date;
import java.lang.Object;
import java.lang.Integer;

/**
 * 日程提醒表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@Table(value = "schedule_reminder",dataSource = "caseDS")
public class ScheduleReminderEntity {

    /**
     * 提醒ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 关联事件ID
     */
    @Column(value = "event_id")
    private Long eventId;

    /**
     * 提前分钟数
     */
    @Column(value = "advance_minutes")
    private Integer advanceMinutes;

    /**
     * 提醒方式
     */
    @Column(value = "method")
    private MethodEnum method;

    /**
     * 计划触发时间
     */
    @Column(value = "trigger_time")
    private Date triggerTime;

    /**
     * 提醒状态
     */
    @Column(value = "status")
    private ReminderStatusEnum status;



}
